package com.secondhand.project.domain;

import com.secondhand.common.annotation.Excel;
import com.secondhand.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class Goods extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long id;
    @Excel(name = "名称")
    private String name;
    @Excel(name = "价格")
    private BigDecimal price;
    @Excel(name = "详情")
    private String content;
    @Excel(name = "发货地址")
    private String address;
    @Excel(name = "图片")
    private String img;
    @Excel(name = "上架日期")
    private String date;
    @Excel(name = "审核状态")
    private String status;
    @Excel(name = "分类")
    private String category;
    @Excel(name = "所属用户ID")
    private Long userId;
    @Excel(name = "上架状态")
    private String saleStatus;
    @Excel(name = "浏览量")
    private Long readCount;

    private String nickName;
    private boolean liked=false;
    private boolean collected=false;
    private Long likeCount=0L;
    private Long collectCount=0L;
}
